<style type="text/css">
.pro-wrapper{
    padding-top: 20px;
}

.pro-label{
    float: left;
    padding: 3px 10px;
    border: 1px solid #FFFFFF;
    border-radius: 8px 8px 8px 8px;
}
.pro-description{
    float: left;
    padding: 7px;    
    border: 1px solid #FFFFFF;
    
}
</style>


<div class="pro-wrapper" id="pro-wrapper">

    <?php if(!empty($this->pro->title)):?>
        <div class="pro-label">
        <?php echo $this->pro->title;?>
        </div>
    <?php endif;?>  
    <?php if(!empty($this->pro->photo_id)):?>
        <div class="ads-image">    	
            <img src="<?php echo $this->photo_url;?>">             
        </div>
     <?php else:?>
        <div class="ads-image">   
            <img src="">
        </div>
     <?php endif;?>
     
     <?php if(!empty($this->pro->description)):?>
        <div class="pro-description">	    
            <?php echo $this->pro->description;?>        
	   </div>
    <?php endif;?>  
</div>

